package cn.tedu.egmybatis1.pojo.mapper;

import cn.tedu.egmybatis1.pojo.entity.Product;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;


@Mapper
public interface IProductMapper {
    @Insert("INSERT INTO product (title,price,stock) VALUES (#{title},#{price},#{stock})")
    void insert(Product product);
}
